﻿using System.Text.Json.Serialization;

namespace Journeo_backend.Models.GPT
{
    public class ResponseFormat
    {
        public string Type { get; set; } = "json_schema";

        [JsonPropertyName("json_schema")]
        public JsonSchema JsonSchema { get; set; }
    }

    public class JsonSchema
    {
        public string Name { get; set; }
        public bool Strict { get; set; } = true;
        public Schema Schema { get; set; }
    }
}
